package Java.com;

import java.io.*;

public class CopyFile {
	public static void main(String args[]) throws IOException {
		FileInputStream in = null;
		FileOutputStream out = null;
		try {
			in = new FileInputStream(
					"E:\\eclipse-jee-2019-03-R-win32-x86_64root\\eclipse-jee-2019-03-R-win32-x86_64\\eclipse\\workspace\\com\\input.php");
			out = new FileOutputStream(
					"E:\\eclipse-jee-2019-03-R-win32-x86_64root\\eclipse-jee-2019-03-R-win32-x86_64\\eclipse\\workspace\\com\\output.php");
			int c;
			while ((c = in.read()) != -1) {
				out.write(c);
			}
		} finally {
			if (in != null) {
				in.close();
			}
			if (out != null) {
				out.close();
			}
		}
	}
}
